﻿@{
    ViewBag.Title = "Cookies";
}

<h2>Cookies</h2>

<div>
    <span>testCookie value: </span>
    @Response.Cookies["testcookie"].Value
</div>
<br />
<hr />
<br />
<div>
    <span>testHttpOnlycookie: </span>
    @Response.Cookies["testHttpOnly"].Value

</div>
<br />

@using (Html.BeginForm())
{ 
    <button type="submit">Submit</button>
}
